/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.util.listas;

/**
 *
 * @author Gustavo Canul
 */
@SuppressWarnings("serial")
public class EmptyListException extends RuntimeException {

    public EmptyListException(String name) {
        super("La " + name + " esta vacia");
    }

    public EmptyListException() {
        this("Lista");
    }
}
